#include <iostream>
#include <cmath>
using namespace std;
int main()
{
    int n, aux;
    cin>>n;
    aux=0;
    while(n>aux)
    {
        cout<<pow(2,aux)<<endl;
        aux=aux+1;
    }
    return 1;
}
